package main

import (
	"fmt"
	"github.com/satori/go.uuid"
	"net/http"
)

type MyHandler struct {
}

func (h *MyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	uid := uuid.NewV4().String()
	fmt.Println(uid)
	fmt.Fprintln(w, "hello server", r.URL.Path)
}

func main() {
	mux := http.NewServeMux()
	mux.Handle("/", &MyHandler{})
	http.ListenAndServe(":60000", mux)
}
